#!/bin/sh
rm -f ./y2.log

SERVER='gtk'

if [[ $1 == 'nc' ]]
then
	SERVER='ncurses'
elif [[ $1 == 'qt' ]]
then
	SERVER='qt'
fi

/usr/lib/YaST2/bin/y2base -l ./y2.log -I . -M . ./education.ycp ${SERVER} 
